// <copyright file="EasyWebApp.cs" company="<Customer Name>">This is a "work-for-hire". or Copyright (C) 2010 MicroCODE Incorporated Troy, MI</copyright><author><Class Author's Name></author>

/*
 *      Title:    <Class Description>
 *      Module:   ClassTemplate (<Namespace>:ClassTemplate.cs)
 *      Project:  <Project Name>
 *      Customer: <Customer Name>
 *      Facility: MicroCODE Incorporated
 *      Date:     <Class Creation Date>
 *      Author:   <Class Author's Name>
 * 
 * 
 * 
 *  
 *      MODIFICATIONS:
 *      --------------
 *
 *  Date:         By-Group:   Rev:     Description:
 *
 *  DD-Mmm-YYYY   XYZ-GROUP  {0001}    Describe reason for creating or modifying class... 
 * 
 * 
 * 
 */
using System;
using System.Collections.Specialized;
using System.Reflection;
using System.Web;
using System.Web.SessionState;

using Org.EasyWeb.Data;
using Org.EasyWeb.Sys;

namespace Org.EasyWeb.Application
{
    internal class AppToolkitGlobalVariable : IGlobalVariable
    {
        // Fields
        private static IAppGlobal fAppGlobal = new AppToolkitAppGlobal();
        private static NameValueCollection fApplication = new NameValueCollection();

        // Properties
        public Assembly AppAssembly
        {
            get
            {
                throw new NotSupportedException();
            }
        }

        public IAppGlobal AppGbl
        {
            get
            {
                return fAppGlobal;
            }
        }

        public NameObjectCollectionBase Application
        {
            get
            {
                return fApplication;
            }
        }

        public IUserInfo Info
        {
            get
            {
                throw new NotSupportedException();
            }
        }

        public RegsCollection RegsCollection
        {
            get
            {
                return fAppGlobal.RegsCollection;
            }
        }

        public HttpRequest Request
        {
            get
            {
                throw new NotSupportedException();
            }
        }

        public HttpResponse Response
        {
            get
            {
                throw new NotSupportedException();
            }
        }

        public HttpServerUtility Server
        {
            get
            {
                throw new NotSupportedException();
            }
        }

        public HttpSessionState Session
        {
            get
            {
                throw new NotSupportedException();
            }
        }

        public ISessionGlobal SessionGbl
        {
            get
            {
                throw new NotSupportedException();
            }
        }

        public object UserID
        {
            get
            {
                throw new NotSupportedException();
            }
        }
    }
}